1 '------------------------------------------------------------------------------
2 ' <auto-generated>
3 ' This code was generated by a tool.
4 ' Runtime Version:4.0.30319.42000
5 '
6 ' Changes to this file may cause incorrect behavior and will be lost if
7 ' the code is regenerated.
8 ' </auto-generated>
9 '------------------------------------------------------------------------------
10
11 Option Strict Off
12 Option Explicit On
13
14 Imports CrystalDecisions.CrystalReports.Engine
15 Imports CrystalDecisions.ReportSource
16 Imports CrystalDecisions.Shared
17 Imports System
18 Imports System.ComponentModel
19
20
21 Public Class rptStockIn
22 Inherits ReportClass
23
24 Public Sub New()
25 MyBase.New
26 End Sub
27
28 Public Overrides Property ResourceName() As String
29 Get
30 Return "rptStockIn.rpt"
31 End Get
32 Set
33 'Do nothing
34 End Set
35 End Property
36
37 Public Overrides Property NewGenerator() As Boolean
38 Get
39 Return true
40 End Get
41 Set
42 'Do nothing
43 End Set
44 End Property
45
46 Public Overrides Property FullResourceName() As String
47 Get
48 Return "Sales_and_Inventory_System.rptStockIn.rpt"
49 End Get
50 Set
51 'Do nothing
52 End Set
53 End Property
54
55 <Browsable(false), _
56 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
57 Public ReadOnly Property Section1() As CrystalDecisions.CrystalReports.Engine.Section
58 Get
59 Return Me.ReportDefinition.Sections(0)
60 End Get
61 End Property
62
63 <Browsable(false), _
64 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
65 Public ReadOnly Property Section2() As CrystalDecisions.CrystalReports.Engine.Section
66 Get
67 Return Me.ReportDefinition.Sections(1)
68 End Get
69 End Property
70
71 <Browsable(false), _
72 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
73 Public ReadOnly Property Section3() As CrystalDecisions.CrystalReports.Engine.Section
74 Get
75 Return Me.ReportDefinition.Sections(2)
76 End Get
77 End Property
78
79 <Browsable(false), _
80 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
81 Public ReadOnly Property Section4() As CrystalDecisions.CrystalReports.Engine.Section
82 Get
83 Return Me.ReportDefinition.Sections(3)
84 End Get
85 End Property
86
87 <Browsable(false), _
88 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
89 Public ReadOnly Property Section5() As CrystalDecisions.CrystalReports.Engine.Section
90 Get
91 Return Me.ReportDefinition.Sections(4)
92 End Get
93 End Property
94
95 <Browsable(false), _
96 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
97 Public ReadOnly Property Parameter_p1() As CrystalDecisions.[Shared].IParameterField
98 Get
99 Return Me.DataDefinition.ParameterFields(0)
100 End Get
101 End Property
102 End Class
103
104 <System.Drawing.ToolboxBitmapAttribute(GetType(CrystalDecisions.[Shared].ExportOptions), "report.bmp")> _
105 Public Class CachedrptStockIn
106 Inherits Component
107 Implements ICachedReport
108
109 Public Sub New()
110 MyBase.New
111 End Sub
112
113 <Browsable(false), _
114 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
115 Public Overridable Property IsCacheable() As Boolean Implements CrystalDecisions.ReportSource.ICachedReport.IsCacheable
116 Get
117 Return true
118 End Get
119 Set
120 '
121 End Set
122 End Property
123
124 <Browsable(false), _
125 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
126 Public Overridable Property ShareDBLogonInfo() As Boolean Implements CrystalDecisions.ReportSource.ICachedReport.ShareDBLogonInfo
127 Get
128 Return false
129 End Get
130 Set
131 '
132 End Set
133 End Property
134
135 <Browsable(false), _
136 DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
137 Public Overridable Property CacheTimeOut() As System.TimeSpan Implements CrystalDecisions.ReportSource.ICachedReport.CacheTimeOut
138 Get
139 Return CachedReportConstants.DEFAULT_TIMEOUT
140 End Get
141 Set
142 '
143 End Set
144 End Property
145
146 Public Overridable Function CreateReport() As CrystalDecisions.CrystalReports.Engine.ReportDocument Implements CrystalDecisions.ReportSource.ICachedReport.CreateReport
147 Dim rpt As rptStockIn = New rptStockIn()
148 rpt.Site = Me.Site
149 Return rpt
150 End Function
151
152 Public Overridable Function GetCustomizedCacheKey(ByVal request As RequestContext) As String Implements CrystalDecisions.ReportSource.ICachedReport.GetCustomizedCacheKey
153 Dim key As [String] = Nothing
154 '// The following is the code used to generate the default
155 '// cache key for caching report jobs in the ASP.NET Cache.
156 '// Feel free to modify this code to suit your needs.
157 '// Returning key == null causes the default cache key to
158 '// be generated.
159 '
160 'key = RequestContext.BuildCompleteCacheKey(
161 ' request,
162 ' null, // sReportFilename
163 ' this.GetType(),
164 ' this.ShareDBLogonInfo );
165 Return key
166 End Function
167 End Class